require.config({
    waitSeconds:10,
    baseUrl:"./",
    paths: {
        jquery:"../../libs/jquery",
        md5: "../../libs/md5",
        utils:"../../js/utils",
        base:"../../components/base",
        pageview:"../../components/pageview",
        pm:"../../js/pageViewManager",
        spin:"../../libs/spin",
        spinjquery:"../../libs/spin.jquery",
        polyfill: "../../libs/polyfill",
        photoswipemin: "../../libs/photoswipe.min",
        photoswipeuimin: "../../libs/photoswipe-ui-default.min",
        photoswipe: "../../components/photoswipe",
        // underscore:"../../libs/underscore-min",
        //text:"../../libs/text"
    }
});

require(["app","pm","jquery","spin","spinjquery"], function(app,PM,$){
    if(!app.init){
        console.error("app.js 未提供init方法");
    }
    window.$ = $;
    window.jQuery = $;
    app.init(PM);
});
